-
Notifications
You must be signed in to change notification settings - Fork 71
ui pattern failure tests #524
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@antoyo after ideating for hours on how to proceed and looking for various options like implementing completely new function for this, including simple bool param in test_rustc_inner for this, making global bool variable to include/exclude these tests, etc. |
To make this useful, we would need the test to fail when there's an ICE (internal compiler error). We can see in the logs that some tests have an ICE:
Maybe we could grep for It would also be interesting to check if this is a good strategy. Perhaps some tests also produce an ICE with the LLVM codegen. Perhaps there is an annotation for the tests that produce an ICE even with LLVM? Perhaps it is |
@antoyo where are these logs from? From workflow run I can see that around 474 ui-pattern-failure-test passed. Do you mean that some of them have an ICE and we should fail them manually? |
To see those logs, I went to the failure workflow and clicked on "View raw logs" (because the logs are too long to be shown on the previous page). |
Yeah, we should fail the CI when there's an ICE, but please consider the notes I mentioned above. |
@antoyo what do you mean by
all the cases for ICE (with "the compiler unexpectedly panicked") that I see in logs are for the ui tests that are already failing. |
Indeed, but the overall CI task does not fail because we eat the exit code. |
@antoyo I checked few of them manually, could get "known-bug" in the one you shared above only. Could you tell me how can I grep for |
You can see the logs by going to this page, then click on the gear at the top right and either select "View raw logs" or "Download log archive". |
Ah! I already did that, is there only manual way to get the tests with ICE from finding the logs, I was thinking of some programmatic way. (there are many, approx 100 such cases in logs) |
You mean, finding the name of those tests? |
yes (name or file) , cause then only i would be able to create txt file to omit them or check for "known-bug", right? |
Yes. I do not know any programmatic way to do this. @GuillaumeGomez mentioned to me the results are in JSON at some point, but we don't know if we could get the JSON. |
To give more details: there is the tester which runs ui test with the |
Ok, so had to do a lot here. |
From what I can see, the command In fact, we see them in the command (You can search for "build system" in the output to see the command that is ran about 14 lines above "build system".)
For the record, this is normal that you don't see them here because they were removed by the call to All of that to say, the CI fails because some other tests (for instance |
ok, so it was that. Actually I looked at logs and saw same files that I omitted in failing-ice-tests.txt , thus thought they were not getting omitted, but actually they were from another ci task, sorry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are a few changes I'd like to see.
Thanks for your work!
@antoyo added the bool function, let me know if anything else is needed now. Also updated description. |
@antoyo ig we are good to go now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With these changes, it will be good to go.
Thanks for the work!
LFG 🚀 |
test_rustc_inner